package com.clotingshoppos.modules.order.POJO;

import com.clotingshoppos.modules.order.entity.OrderDetailEntity;
import com.clotingshoppos.modules.order.entity.OrderEntity;

import java.util.List;

/**
 * @ClassName: OrderRelate
 * @Description: 整合的订单对象
 * @Author: Izzat
 * @Date: 2019-04-21 20:35
 * @Version: v1.0
 */
public class OrderRelate {
    private OrderEntity orderInfo;
    private List<OrderDetailEntity> itemList;

    public OrderRelate(OrderEntity orderInfo, List<OrderDetailEntity> itemList) {
        this.orderInfo = orderInfo;
        this.itemList = itemList;
    }

    public OrderRelate() {
    }

    public OrderEntity getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(OrderEntity orderInfo) {
        this.orderInfo = orderInfo;
    }

    public List<OrderDetailEntity> getItemList() {
        return itemList;
    }

    public void setItemList(List<OrderDetailEntity> itemList) {
        this.itemList = itemList;
    }
}
